﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Elitrans.HRM.Server
{
    public class BaseService: IBaseService
    {

        public virtual bool BeginTransaction()
        {
            return true;
        }

        public virtual bool ExecuteTransaction(out string error)
        {
            error = null;
            return true;
        }

        public virtual bool CommitTransaction(out string error)
        {
            error = null;
            return true;
        }

        public virtual bool RollBackTransaction()
        {
            return true;
        }

        public virtual void GetInputData(Dictionary<string, object> data)
        {
            
        }
    }
}